export const isDate = (value: any) => {
    return Object.prototype.toString.call(value) === '[object Date]';
}

export function _extend(target, source) {
    // Don't do anything if source isn't an object
    if (source === null || typeof source !== 'object') return target;
  
    var keys = Object.keys(source);
    var i = keys.length;
    while (i--) {
      target[keys[i]] = source[keys[i]];
    }
    return target;
  }

  export function isUint8Array(value) {
    return value instanceof Uint8Array;
  }